package com.xian.ucenter.service;

import com.xian.ucenter.commons.Result;
import com.xian.ucenter.entities.vo.UserLogin;

import javax.servlet.http.HttpServletRequest;

public interface IndexService {
    Result getIndexInfo();

    Result login(UserLogin userLogin);

    Result logout(HttpServletRequest request);

    Result getInfo(HttpServletRequest request);

    Result getLastPosts();
}
